package mysql

import "gorm.io/gorm"

type Furn struct {
	gorm.Model
	FurnName string  `gorm:"type:varchar(30)"`
	Price    float64 `gorm:"type:decimal(10,2)"`
	Num      int     `gorm:"type:int(11)"`
	ClassId  int     `gorm:"type:int(11)"`
	BrandId  int     `gorm:"type:int(11)"`
}

type Class struct {
	gorm.Model
	ClassName string `gorm:"type:varchar(30)"`
}

type Brand struct {
	gorm.Model
	BrandName string `gorm:"type:varchar(30)"`
}
